from random import randint

def func(x):
    return x * 2 + 1

if __name__ == '__main__':
    alist = [randint(1, 100) for i in range(10)]
    print('alist: ', alist)
    result = map(func, alist)
    print('result:', result)
    print('list result', list(result))
    result2 = map(lambda x: x * 2 + 1, alist)
    print('result2:', result2)
    print('list result2:', list(result2))
